package com.bestsoft.flow.service;

import java.util.List;
import com.bestsoft.flow.domain.FlowOwnerDoc;

/**
 * 货主资料Service接口
 * 
 * @author 崔健
 * @date 2023-07-11
 */
public interface IFlowOwnerDocService 
{
    /**
     * 查询货主资料
     * 
     * @param ownerid 货主资料主键
     * @return 货主资料
     */
    public FlowOwnerDoc selectFlowOwnerDocByOwnerid(Long ownerid);

    /**
     * 查询货主资料列表
     * 
     * @param flowOwnerDoc 货主资料
     * @return 货主资料集合
     */
    public List<FlowOwnerDoc> selectFlowOwnerDocList(FlowOwnerDoc flowOwnerDoc);

    /**
     * 新增货主资料
     * 
     * @param flowOwnerDoc 货主资料
     * @return 结果
     */
    public int insertFlowOwnerDoc(FlowOwnerDoc flowOwnerDoc);

    /**
     * 修改货主资料
     * 
     * @param flowOwnerDoc 货主资料
     * @return 结果
     */
    public int updateFlowOwnerDoc(FlowOwnerDoc flowOwnerDoc);

    /**
     * 批量删除货主资料
     * 
     * @param ownerids 需要删除的货主资料主键集合
     * @return 结果
     */
    public int deleteFlowOwnerDocByOwnerids(Long[] ownerids);

    /**
     * 删除货主资料信息
     * 
     * @param ownerid 货主资料主键
     * @return 结果
     */
    public int deleteFlowOwnerDocByOwnerid(Long ownerid);
}
